﻿/*********************************************************************************/
/**    Sims3Pack Readme Generator                                               **/
/**    Copyright (C) 2012  Anja Knackstedt                                      **/
/**                                                                             **/
/**    This program is free software: you can redistribute it and/or modify     **/
/**    it under the terms of the GNU General Public License as published by     **/
/**    the Free Software Foundation, either version 3 of the License, or        **/
/**    (at your option) any later version.                                      **/
/**                                                                             **/
/**    This program is distributed in the hope that it will be useful,          **/
/**    but WITHOUT ANY WARRANTY; without even the implied warranty of           **/
/**    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            **/
/**    GNU General Public License for more details.                             **/
/**                                                                             **/
/**    You should have received a copy of the GNU General Public License        **/
/**    along with this program.  If not, see <http://www.gnu.org/licenses/>.    **/
/**                                                                             **/
/*********************************************************************************/




namespace Sims3PackReadmeGenerator.ContentDesciption
{
   /// <summary>
   /// sim specific information for sims in simlists (e.g. households)
   /// </summary>
    class SimpleSimDescription
    {
        #region properties

        public string Name          { get; set; }
        public string Bio           { get; set; }
        public DescriptionItem Age  { get; set; }
        public DescriptionItem Species  { get; set; }
        public DescriptionItem Gender   { get; set; }
        public SimTypes SimType     { get; set; }

        #endregion

        #region constructor

        public SimpleSimDescription()
        {
            this.Age     = new DescriptionItem();
            this.Species = new DescriptionItem();
            this.Gender  = new DescriptionItem();
        }

        #endregion

        #region methods

        public override string ToString()
        {
            return Name;
        }        

        public string getSimName()
        {
            return this.Name;
        }

        public string getSimBio()
        {
            return this.Bio;
        }

        public string getSimAge(Languages lang)
        {
            string age = "";

            if (lang == Languages.de)
                age = this.Age.DE;
            else
                age = this.Age.EN;            

            return age;
        }    

        public string getSimGender(Languages lang)
        {
            string gender = "";

            if (lang == Languages.de)
                gender = this.Gender.DE;
            else
                gender = this.Gender.EN;

            return gender;
        }

        public string getSimSpecies(Languages lang)
        {
            string species = "";

            if (lang == Languages.de)
                species = this.Species.DE;
            else
                species = this.Species.EN;

            return species;
        }

        #endregion
    }
    
}
